/**
 * @filename:VoucherManagementService 2023-5-2
 * @project Wonder Vue Admin Api  1.1.0
 * Copyright(c) 2022 Wonder Co. Ltd. 
 * All right reserved. 
 */
package com.wonder.app.service;
import com.wonder.app.domain.VoucherManagement;
import com.wonder.app.vo.VoucherManagementVo;
import com.wonder.app.request.VoucherManagementRequest;
import com.wonder.common.common.AjaxResult;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.Map;
/**   
 * @Description:TODO(用户代金券服务层)
 * @version: 1.1.0
 * @author: Wonder
 * 
 */
public interface VoucherManagementService extends IService<VoucherManagement> {

    
    /**
     * 验证用户代金券信息
     * 
     * @param voucherManagement
     * @param type
     * @return 结果
     */
    public String validate(VoucherManagement voucherManagement,String type);   
   
	
    /**
	 * 分页返回，自定义多表分页数据返回
	 */
	public IPage<VoucherManagementVo> selectVoucherManagementVoList(VoucherManagementRequest request, Page<VoucherManagementVo> page);
	
	/**
	 * 返回VO单个数据
	 */
	public VoucherManagementVo getVoById(Long id);
	
	 /**
	 * Description:用户代金券分页返回
	 * @param request//检索条件
	 * @param page//分页参数
	 * @return IPage<VoucherManagement>   //分页记录
	 */
    public IPage<VoucherManagement> selectList(VoucherManagementRequest request, Page<VoucherManagement> page);

	
}
